﻿@model Rework.SocialMetadata.ViewModels.SocialMetadataEditViewModel

<div>
    @Html.EditorFor(m => m.UsePattern)
    <label class="forcheckbox" for="@Html.FieldIdFor(m => m.UsePattern)">@T("Override Social Metadata")</label>
    <span class="hint">@T("Check to define social metadata that is unique to this content item.")</span>
</div>

<div data-controllerid="@Html.FieldIdFor(m => m.UsePattern)">
    <fieldset class="social-metadata">
        <legend>@T("Social Metadata:")</legend>
        @Html.TextAreaFor(model => model.Pattern, new { @class = "tokenized text-box" })
        <span class="hint">@T("Add one metadata entry per row")</span>
    </fieldset>
</div>

@Display.TokenHint()